package com.chuangshi.core.vote.position.service;

import com.chuangshi.core.mongodb.MongodbService;
import com.chuangshi.core.kit.Result;
import com.chuangshi.core.vote.position.controller.admin.request.PositionAdminV1ListAllRequest;
import com.chuangshi.core.vote.position.controller.admin.request.PositionAdminV1ListRequest;
import com.chuangshi.core.vote.position.entity.Position;

import java.util.List;

/**
 * 岗位信息业务接口
 *
 * @author ggliming
 * @date 2019-02-21
 */
public interface PositionService extends MongodbService<Position> {

    /**
     * 岗位信息列表
     *
     * @param request 请求参数
     * @return Result 返回参数
     */
    Result listForAdmin(PositionAdminV1ListRequest request);

    List<Position> listAll(String appId);
}